package com.xieyingwangluo.yxpart.entity;




import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 兼职表
 * part的model,对应part表
 */
@Data
public class PartModel implements Serializable {
    private String noid;//兼职编号UUID
    private String name;//兼职名称
    private Integer salary;//兼职薪资
    private Integer type;//兼职类型
    private Integer unit;//单位（0小时，1日，2周，3月）
    private Integer labour;//工作时间
    private Date create_time;//发布时间(创建时间)
    private Integer setcycle;//结算周期
    private Integer hirnumb;//招聘人数
    private Integer sex;//性别要求
    private String content;//工作内容
    private Date start_time;//工作开始时间
    private Date end_time;//工作结束时间
    private String job_address;//工作地点
    private Integer state;//兼职状态
    private String merchant_id;//关联的商户UUID
    private Integer colligate;//综合排序
    private Integer aaa;//排序

    public PartModel(String noid, String name, Integer salary, Integer type, Integer unit, Integer labour, Date create_time, Integer setcycle, Integer hirnumb, Integer sex, String content, Date start_time, Date end_time, String job_address, Integer state, String merchant_id, Integer colligate) {
        this.noid = noid;
        this.name = name;
        this.salary = salary;
        this.type = type;
        this.unit = unit;
        this.labour = labour;
        this.create_time = create_time;
        this.setcycle = setcycle;
        this.hirnumb = hirnumb;
        this.sex = sex;
        this.content = content;
        this.start_time = start_time;
        this.end_time = end_time;
        this.job_address = job_address;
        this.state = state;
        this.merchant_id = merchant_id;
        this.colligate = colligate;
    }
    public PartModel() {
    }

    public PartModel(String noid, String name, Integer salary, Integer type, Integer unit, Integer labour, Date create_time, Integer setcycle, Integer hirnumb, Integer sex, String content, Date start_time, Date end_time, String job_address, Integer state, String merchant_id) {
        this.noid = noid;
        this.name = name;
        this.salary = salary;
        this.type = type;
        this.unit = unit;
        this.labour = labour;
        this.create_time = create_time;
        this.setcycle = setcycle;
        this.hirnumb = hirnumb;
        this.sex = sex;
        this.content = content;
        this.start_time = start_time;
        this.end_time = end_time;
        this.job_address = job_address;
        this.state = state;
        this.merchant_id = merchant_id;
    }
}
